#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-09 14:32:16
# Last Modified: 2016-05-04 15:44:42
# File Name: bind-third-account.sh
# Description: 
source ./gl.sh

sign=`echo -n "ak${ak}appkey${appkey}time${reqTime}uid${uid}passport.app.doubimeizhi.com" | md5sum | awk '{print $1}'`

curl -v -d '{"nick_name": "iShuige", "ext_from": "wechat", "ext_id": "q243002136"}' "http://${host}/v1/account/bind/third_account?appkey=${appkey}&ak=${ak}&uid=${uid}&time=${reqTime}&sign=${sign}"
